#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = 'wshu'
__version__ = '1.0'
"""
    ***********************************
    *  @filename : start_engine.py
    *  @Author : wshu
    *  @CodeDate : 2020/3/26 14:42
    *  @Software : PyCharm
    ***********************************
"""
import time
from scrapy.cmdline import execute

def main():
    # execute('scrapy crawl hf -s LOG_FILE=hf.log -s PROCESS_NAME=hfbot'.split())
    execute('scrapy crawl hf'.split())
    # time.sleep(1.5)

if __name__ == '__main__':
    main()